#ifndef BOOK_H
#define BOOK_H

#include <QWaitCondition>

class Book : public QWaitCondition
{
	static int counter;
	int id;
	bool free;

public:
	Book();
	int getId();
	bool isFree();
	void take();
	void returnToLibrary();

};

#endif // BOOK_H
